package geektime.spring.springbucks.client.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.joda.money.Money;

import java.io.Serializable;
import java.util.Date;

/**
 * @author BFSI1_BUTF_DEL4_SD3_P0130317_廖秋冰
 * @site http://www.pactera-fintech.com/
 * @company 中电金信软件有限公司
 * @create 2022-06-12 10:54
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Coffee implements Serializable {

    private Long id;
    private String name;
    private Money price; // 先用BigDecimal，下次换Money
    private Date createTime;
    private Date updateTime;
}
